package com.cy.ppj.model.ao.mall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * @Description 新增门店字段
 * @Author tanyilin
 * @Date 2019/7/2 17:15
 */
@Data
@ApiModel("新增门店字段")
public class StoreAddAO {

    @ApiModelProperty(value = "品牌ID", example = "0")
    @NotNull(message = "品牌ID不可为空")
    private Long brandId;

    @ApiModelProperty(value = "门店名称")
    @NotEmpty(message = "门店名称不可为空")
    private String name;

    @ApiModelProperty(value = "地址")
    @NotEmpty(message = "地址不可为空")
    private String address;

    @ApiModelProperty(value = "联系人")
    private String contactName;

    @ApiModelProperty(value = "联系方式")
    private String contactWay;

}
